﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace liaowa2.Entity.DataModel
{
    //管理员信息表
    public class Manager
    {

        /// <summary>
        /// 自增ID
        /// </summary>	
        private int _id;
        public int id
        {
            get { return _id; }
            set { _id = value; }
        }
        private string _user_code;
        public string user_code
        {
            get { return _user_code; }
            set { _user_code = value; }
        }
        /// <summary>
        /// 角色ID
        /// </summary>		
        private int _role_id;
        public int role_id
        {
            get { return _role_id; }
            set { _role_id = value; }
        }
        /// <summary>
        /// 管理员类型1超管2系管
        /// </summary>		
        private int _role_type;
        public int role_type
        {
            get { return _role_type; }
            set { _role_type = value; }
        }
        /// <summary>
        /// 用户名
        /// </summary>		
        private string _user_name;
        public string user_name
        {
            get { return _user_name; }
            set { _user_name = value; }
        }
        /// <summary>
        /// 登录密码
        /// </summary>		
        private string _password;
        public string password
        {
            get { return _password; }
            set { _password = value; }
        }
        /// <summary>
        /// 6位随机字符串,加密用到
        /// </summary>		
        private string _salt;
        public string salt
        {
            get { return _salt; }
            set { _salt = value; }
        }
        /// <summary>
        /// 用户昵称
        /// </summary>		
        private string _real_name;
        public string real_name
        {
            get { return _real_name; }
            set { _real_name = value; }
        }
        /// <summary>
        /// 联系电话
        /// </summary>		
        private string _telephone;
        public string telephone
        {
            get { return _telephone; }
            set { _telephone = value; }
        }
        /// <summary>
        /// 电子邮箱
        /// </summary>		
        private string _email;
        public string email
        {
            get { return _email; }
            set { _email = value; }
        }
        /// <summary>
        /// 是否锁定
        /// </summary>		
        private int _is_lock;
        public int is_lock
        {
            get { return _is_lock; }
            set { _is_lock = value; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>		
        private DateTime _add_time;
        public DateTime add_time
        {
            get { return _add_time; }
            set { _add_time = value; }
        }
        /// <summary>
        /// 头像
        /// </summary>
        public string headimg
        {
            get; set;

        }
         /// <summary>
        /// 推广二维码
        /// </summary>
        public string QR_code { get; set; }
        
        /// <summary>
        /// 组织机构id
        /// </summary>
        public int Org_id
        {
            get; set;

        }
        /// <summary>
        /// 组织机构名称
        /// </summary>
        public string org_name { get; set; }

        /// <summary>
        /// 评级
        /// </summary>
        public  int Rating
        {
            get; set;

        }

        private string _JPuchCode;
        /// <summary>
        /// 极光推送别名
        /// </summary>
        public string JPuchCode
        {
            get { return _JPuchCode; }
            set { _JPuchCode = value; }
        }
        public int? Enable { get; set; }

    }
 
}
